package com.bx.implatform.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "小程序用户注册DTO")
public class XcxRegisterDTO {

    /**
     * 微信unionId
     */
    @NotNull(message = "微信unionId不能为空")
    private String unionId;

    /**
     * 微信openId
     */
    @NotNull(message = "微信unionId不能为空")
    private String openId;

    /**
     * 头像
     */
    private String headImage;

    /**
     * 头像
     */
    private String headImageThumb;

    /**
     * 昵称
     */
    private String nickName;

    /**
     * 性别 1:男 2:女
     */
    private Integer sex;

    /**
     * 邀请码
     */
    private String inviteCode;

}
